package com.dsteiner.widgets.client.rpc;

import com.dsteiner.widgets.client.domain.BaseObject;
import com.dsteiner.widgets.client.domain.Distinct;

public class DistinctRequest extends BaseObject{

	private Distinct[] distincts;
	private int limit;

	public DistinctRequest() {
	}
	
	public DistinctRequest(int limit, Distinct... distincts) {
		this.limit = limit;
		this.distincts = distincts;
	}
	
	public Distinct[] getDistincts() {
		return distincts;
	}
	public int getLimit() {
		return limit;
	}
}
